﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MemoryTrainer
{
    public class MemoryElement
    {
        public string Value { get; set; }
        public string GuessedValue { get; set; }
        
        public bool IsCorrect { get {return Value.Equals(GuessedValue);} }

        public MemoryElement()
        {
            Value = string.Empty;
            GuessedValue = string.Empty;
        }

        public MemoryElement(string value)
        {
            Value = value;
            GuessedValue = string.Empty;
        }

        public MemoryElement(int value)
        {
            Value = value.ToString();
            GuessedValue = string.Empty;
        }
    }
}
